import javax.swing.*;

public class Teste{
	public static void main(String[] args){
		JFrame frame = new JFrame();
		MyDrawPanel meuPainel = new MyDrawPanel();
		frame.getContentPane().add(meuPainel);
		frame.setSize(400, 400);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.setVisible(true);
	}
}
